package com.jz.netthings.netty.protocol.bean;

import com.jz.netthings.netty.protocol.BasePacket;
import lombok.Data;

import java.io.Serializable;

@Data
public class ErrorMsgResponsePacket extends BasePacket  implements Serializable {
    /**
     * 错误信息
     */
    private String errorMsg;

    public ErrorMsgResponsePacket(String errorMsg) {
        this.errorMsg = errorMsg;
    }
    public ErrorMsgResponsePacket() {}

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
